var httpT = {
   ajax:function(url,type,mui,params,success,error){
	   	params['async']=true;
	   	if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)){
	  	    mui.ajax({
		   		type:type,
		   		url:url,
		   		success:success(),
		   		error:error()
		   	});
		}else{
	  		//params['dataType']='jsonp';
	  		//params['jsonp']='callback';
		   	//params['jsonpCallback']='?';
		   	$.ajax({
					url: url,
					dataType: 'jsonp',
					processData: false,
					type: 'get',
					success: success(),
					error: error()
			});
		}
   },
   ajaxPost:function(url,mui,params,success,error){
	   ajax(url,"post",mui,params,success,error);
   },
   post:function(url,params,success,error){
	   	ajax:("post",url,params,success,error);
   }
};

